Here it is, the identity function:

function id(x) { 
  var y = 10;
  return x+y; 
}